| Visual Basic (Declaration) | |
|---|---|
Protected Overrides Sub OnInsert( _ ByVal index As Integer, _ ByVal value As Object _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As CollectionBase(Of T) Dim index As Integer Dim value As Object instance.OnInsert(index, value)  | |
Parameters
- index
 - The zero-based index at which to insert the value.
 - value
 - The new value of the element at the index.
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8